package com.ticket.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ticket.common.annotation.Excel;
import com.ticket.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 yanchu_score_detail
 * 
 * @author ruoyi
 * @date 2024-03-18
 */
public class YanchuScoreDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 获得的积分数量 */
    @Excel(name = "获得的积分数量")
    private BigDecimal pointsNum;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userId;

    /** 优惠规则id */
    @Excel(name = "优惠规则id")
    private Long pointsRuleId;

    private String pointRuleName;

    private Integer pointRuleType;

    private Integer pointsType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPointsNum(BigDecimal pointsNum) 
    {
        this.pointsNum = pointsNum;
    }

    public BigDecimal getPointsNum() 
    {
        return pointsNum;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setPointsRuleId(Long pointsRuleId) 
    {
        this.pointsRuleId = pointsRuleId;
    }

    public Long getPointsRuleId() 
    {
        return pointsRuleId;
    }

    public String getPointRuleName() {
        return pointRuleName;
    }

    public void setPointRuleName(String pointRuleName) {
        this.pointRuleName = pointRuleName;
    }

    public Integer getPointRuleType() {
        return pointRuleType;
    }

    public void setPointRuleType(Integer pointRuleType) {
        this.pointRuleType = pointRuleType;
    }


    public Integer getPointsType() {
        return pointsType;
    }

    public void setPointsType(Integer pointsType) {
        this.pointsType = pointsType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pointsNum", getPointsNum())
            .append("userId", getUserId())
            .append("pointsRuleId", getPointsRuleId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("pointRuleName", getPointRuleName())
            .append("pointRuleType", getPointRuleType())
            .toString();
    }
}
